package com.xo.mall.server;

import com.xo.common.Result.CommonPage;
import com.xo.common.Result.ResultResponse;
import com.xo.common.pojo.dto.req.BrandCreateReqDto;
import com.xo.common.pojo.dto.req.EditBrandByIdDto;
import com.xo.common.pojo.dto.req.PageBrandListDto;
import com.xo.common.pojo.vo.BrandListVo;
import io.swagger.v3.oas.annotations.Operation;

public interface PmsBrandService {
    @Operation(summary = "创建品牌")
    ResultResponse<Object> brandCreate(BrandCreateReqDto brandCreateReqDTO);

    @Operation(summary = "品牌分页列表")
    ResultResponse<CommonPage<BrandListVo>>  brandList(PageBrandListDto pageBrandListDto);

    @Operation(summary = "根据id删除品牌")
    ResultResponse<Object> deleteBrandById(Integer id);

    @Operation(summary = "品牌编辑")
    ResultResponse<Object> editBrandById(EditBrandByIdDto editBrandByIdDto);
}
